<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%String path = request.getContextPath();String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";%>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<%--会话过期 --%>
		<title>${title}</title>
		<script type="text/javascript" src="<c:url value='/resource/js/jquery-1.7.2.min.js'/>"></script>
		<script type="text/javascript" src="<c:url value='/resource/artdialog/artdialog.js?skin=${sys_theme}'/>"></script>
		<script type="text/javascript" src="<c:url value='/resource/artdialog/iframetools.js'/>"></script>	
	</head>
	<body>
	</body>
	<script type="text/javascript">
		/*
		function trimStr(targetCmpId) {
			return $("#" + targetCmpId).val().replace(/(^\s*)|(\s*$)/g, "");
		}
		var _win = art.dialog({
			title : '会话过期',
			content : '用户名：<input id="txt_name" type="text"/><br/><br/>密　码：<input id="txt_pwd" type="password"/><br><span id="sp_msg"></span>',
			lock : true,
			fixed : true,
			ok : function() {
				var _name = document.getElementById('txt_name');
				var _pwd = document.getElementById('txt_pwd');
				var _msg = document.getElementById('sp_msg');
				if ("" == _name.value.replace(/(^\s*)|(\s*$)/g, "")) {
					_name.select();
					_name.focus();
					return;
				} else if ("" == _pwd.value.replace(/(^\s*)|(\s*$)/g, "")) {
					_pwd.select();
					_pwd.focus();
					return;
				}
				$.post("<c:url value='/profile/auth.json'/>", {
					policeNum : trimStr("txt_name"),
					password : trimStr("txt_pwd")
				}, function(data) {
					if (1 == data.msg.status) {
						alert("${target}");
						window.location.href = "${target}";
						_win.close();
					} else {
						_msg.innerHTML = data.msg.body;
					}
				});
				return false;
			},
			okValue : '登录',
			cancel : function() {
			}
		});*/
		top.window.location.href="<c:url value='/profile/login.html'/>";
		</script>	
</html>